<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <script src="/assets/addons/yalimedia/libs/jquery.min.js"></script>
    <script src="/assets/addons/yalimedia/libs/aliyun-upload-sdk-1.5.0.min.js"></script>
    <script src="/assets/addons/yalimedia/libs/es6-promise.min.js"></script>
    <script src="/assets/addons/yalimedia/libs/aliyun-oss-sdk-5.3.1.min.js"></script>
    <script src="/assets/addons/yalimedia/libs/jstree/jstree.min.js"></script>
    <link rel="stylesheet" href="/assets/addons/yalimedia/libs/jstree/themes/default/style.min.css" />
    <link rel="stylesheet" href="/assets/libs/font-awesome/css/font-awesome.min.css" />
    <style type="text/css">
        body{
            padding: 10px;
        }
        .container {
            width: 1200px;
            margin: 0 auto;
        }
        .input-control {
            margin: 5px 0;
        }
        .input-control label {
            font-size: 14px;
            color: #333;
            width: 30%;
            text-align: right;
            display: inline-block;
            vertical-align: middle;
            margin-right: 10px;
        }
        .input-control input {
            width: 30%;
            height: 30px;
            padding: 0 5px;
        }
        .upload {
            /*padding: 11px 11px;*/
            width: 100%;
        }
        .progress {
            font-size: 14px;
        }
        .progress i {
            font-style: normal;
        }
        .upload-type {
            color: #666;
            font-size: 12px;
        }
        .upload-type button  {
            margin: 0 10px 0 80px;
            background: #18bc9c;
            border: none;
            padding: 8px 15px;
            color: #fff;
        }
        .status {
            font-size: 14px;
            margin-left: 30px;
        }
        .info {
            font-size: 14px;
            padding-left: 30px;
        }
        .upload-flex{
            display: flex;
            align-items: center;
            color: #a2a2a2;
            font-size: 14px;
            margin-bottom: 18px;
        }
        .upload-title{width: 78px;}
        #cate{
            width: 320px;
            padding: 8px;
            border:solid 1px #dedede;
        }
        .upload-box-table table td{
            padding: 12px;
            border-bottom: solid 1px #ececec;
        }
        .upload-box-table-text{
            max-width: 102px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .upload-box-table span{
            font-size: 14px;
            color: red;
        }
    </style>

</head>
<body>
<div>
    <div class="upload">


<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('姓名')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('头像')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-image" data-rule="required" class="form-control" size="50" name="row[image]" type="text" value="">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image" class="btn btn-danger plupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image"></ul>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('简介')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-desc" data-rule="required" class="form-control" rows="5" name="row[desc]" cols="50"></textarea>
        </div>
    </div>

    


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>


</div>
</div>

</body>
</html>